<template>
  <router-view></router-view>
  <van-tabbar v-model="active" active-color="#FF7C00">
    <van-tabbar-item name="home" icon="home-o">首页</van-tabbar-item>
    <van-tabbar-item name="edit" icon="search">留言</van-tabbar-item>
    <van-tabbar-item name="chat-o" icon="chat-o">投诉</van-tabbar-item>
    <van-tabbar-item name="friends-o" icon="friends-o">个人中心</van-tabbar-item>
  </van-tabbar>
</template>
<script setup>
import { onMounted, ref } from 'vue'
import { useRouter } from 'vue-router'
const router = useRouter()
const active = ref('home');
</script>
<style scoped lang="scss"></style>